package com.freesky.common.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.freesky.common.vo.VOOrderChartData;
import com.freesky.common.dao.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author: 陈玉林
 * @modifiedBy:
 * @date: Create In 8:55 2018/12/5
 * @description:
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order>{
    List<VOOrderChartData> selectOrderChart(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
    List<VOOrderChartData> selectOrderChartByYear(@Param("year") int year);
}
